import Vue from 'vue';
import VueToasted from 'vue-toasted';


Vue.use(VueToasted);


class Toast {

    show(text) {
        Vue.toasted.show(text, {
            theme: "outline",
            position: "bottom-center",
            duration: 2000
        });
    }
}

let toast = new Toast();

export default toast;